Smartling\Services\ContentRelationsDiscoveryService C

Total Complexity 104
Dependencies 45
Dependents 3
Total lines 662
Lines of code 485
Logical lines of code 288
Comment lines 55
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
getRelations()
B
32 19 99
createSubmissions()
B
35 14 88
normalizeReferences()
A
44 15 45
clone()
S
45 6 45
getReferencesFromAcf()
S
53 7 22
getSources()
S
56 6 18
bulkUpload()
S
50 5 26
getReferencesFromGutenbergReplacementRules()
S
56 5 17
shortcodeHandler()
S
62 4 11
getPostContentReferences()
S
60 3 13
addFlattenedBlock()
S
60 3 12
getTaxonomiesForContentType()
S
64 3 10
addPostContentReferences()
S
58 2 14
extractFieldsFromShortcodes()
S
61 2 12
getBatchUid()
S
59 1 17
extractFieldsFromGutenbergBlocks()
S
66 2 8
getTitle()
S
64 2 9
getBackwardRelatedTaxonomies()
S
65 2 9
storeWithJobInfo()
S
72 1 5
logSubmissionCreated()
S
77 1 3
__construct()
S
91 1 2